package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Menu;
import com.itheima.pojo.Role;

import javax.naming.InsufficientResourcesException;
import java.util.List;
import java.util.Map;

/**
 * @author zhouwei
 * @date 2020-01-17 9:25
 */
public interface RoleService {
    public PageResult findPage(QueryPageBean queryPageBean);

    public List<Menu>  findMenu();

    public void add(Role role, Integer[] menuIds);

    public Map findById(Integer id);

    public void edit(Role role,Integer[] menuIds);
}
